75f7c3e251736e0d7cf457be45df2caf7a3daef2,platform/platform-impl/src/com/intellij/notification/impl/ui/NotificationsUtil.java,NotificationsUtil,getIcon,#Notification#,82

Before Change


  public static Icon getIcon(@NotNull final Notification notification) {
    Icon icon = notification.getIcon();

    if (icon == null) {
      icon = getMessageType(notification).getDefaultIcon();
    }

    return icon;

After Change



  public static Icon getIcon(@NotNull final Notification notification) {
    Icon icon = notification.getIcon();
    return icon != null ? icon : getMessageType(notification).getDefaultIcon();
  }

  public static MessageType getMessageType(@NotNull Notification notification) {